package com.pan.dao;

import com.pan.entity.Depository;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DepositorySelectDao{
    Depository selectById(Integer id);
    List<Depository> selectByName(String name);
    List<Depository> selectByDistrict1Id(Integer district1Id);
    List<Depository> selectByDistrict1Name(String district1Name);
    List<Depository> selectByDistrict2Id(Integer district2Id);
    List<Depository> selectByDistrict2Name(String district2Name);
    List<Depository> selectByDistrict3Id(Integer district3Id);
    List<Depository> selectByDistrict3Name(String district3Name);
    List<Depository> selectByAddress(String address);
}